package com.jxd.ordersys.service;

import com.jxd.ordersys.model.OrderRequest;
import com.jxd.ordersys.model.Orders;

import java.util.List;

public interface IOrdersService {
    boolean delOrder(List<Integer> orderIds);

    boolean OrderExists(Integer empId);

    Orders selectOrderByEmpId(Integer empId);

    boolean addOrder(Orders order);

    boolean editOrder(Orders order);

    boolean createOrEditOrder(OrderRequest orderRequest);

    boolean reviewOrder(Integer orderId, String reviewerName, String reviewNote, Integer reviewResult);
}
